package com.zb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 仓储设置表
 * </p>
 *
 * @author WEN
 * @since 2024-01-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ZjStoreSet对象", description="仓储设置表")
public class ZjStoreSet implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商家ID")
    private Long id;

    @ApiModelProperty(value = "出库编码前缀")
    private String outboundCodePrefix;

    @ApiModelProperty(value = "入库编码前缀")
    private String inboundCodePrefix;

    @ApiModelProperty(value = "一物一码激活方式：1-客户登录并激活，2-出库激活并质保，3-出库激活")
    private Integer codeActiveMode;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date gmtCreate;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date gmtUpdate;


}
